package com.sky.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Dish implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Long id;

    private String name; //名称
    private Long categoryId; //分类id
    private BigDecimal price; //单价
    private String image; //图片
    private String description; //描述
    private Integer status; //状态 0=禁用 1=启用
    private LocalDateTime createTime; //创建时间
    private LocalDateTime updateTime; //更新时间
    private Long createUser; //创建员工id
    private Long updateUser; //更新员工id
}
